Match address Mii helpers #29
Reference in New Issue
Block a user
Delete Branch "codex/worker-address-miiobj-20260921"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds the remaining small exact functions recovered in
src/scene/address/iplAddress.cpp: the VEC2 scalar multiply helper and the Address MiiObj destructor, init, set, reset, and callback.Validation on current
origin/main(27ce4969):iplAddress: 21/101 -> 27/101 exact functionspool_diff.pyand focused object build completedctxdiff.py: 0 instruction differences for all six added functionsbuild/43U/main.dolSHA1:26116613f624061ba99c8d1a299aaa6efa85670dReAgent material was not used.
@@ -212,0 +286,4 @@li r0, 0stw r0, 0x20(r31)miio_reset_done:lwz r0, 0x14(r1)🟡 Medium
address/iplAddress.cpp:276Calling
setwith an unresolvable ID does not actually reset a prior queued request:resetonly clears the object at0x20, whilenigaoe::Managerstill owns the queued request until its callback runs. The earlier callback then installs the stale Mii texture after the reset. Cancel or invalidate the pending request when entering the reset path.🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
@@ -212,0 +361,4 @@blr}extern "C" asm void __ml__Q33ipl4math4VEC2CFf() {🟠 High
address/iplAddress.cpp:351Destroying
MiiObjwhile the RFL queue is delayed leaves a queued callback that later dereferences freed memory, causing use-after-free or a crash.setdiscards theManager::createreturn value, so0x20remains null untilcreate_callbackruns and__dt__cannot detach the queued object. Store the returnednigaoe::Object*in0x20immediately.🚀 Reply "fix it for me" or copy this AI Prompt for your agent: