; ; CustomizeObjectLayer::toggleVisible from 0x8419ec to 0x841b04 (280 bytes) ; ; 2 xrefs: ; > CustomizeObjectLayer::onSelectMode @ 0x841bdc ; > @ 0xc3d50 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; STP X29, X30, [SP,#-0x20+var_s0]! ; +0x0, 0x8419ec MOV X29, SP ; +0x4, 0x8419f0 STP X19, X20, [SP,#var_s10] ; +0x8, 0x8419f4 MOV X19, X0 ; +0xc, 0x8419f8 LDR W0, [X0,#0x2D0] ; +0x10, 0x8419fc MOV W20, #0 ; +0x14, 0x841a00 CMP W0, #3 ; +0x18, 0x841a04 CSET W0, EQ ; +0x1c, 0x841a08 STRB W0, [X19,#0x380] ; +0x20, 0x841a0c B loc_841A30 ; +0x24, 0x841a10 LDR X0, [X19,#0x2B0]; this ; +0x28, 0x841a14 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x2c, 0x841a18 LDR X2, [X0] ; +0x30, 0x841a1c LDRB W1, [X19,#0x380] ; +0x34, 0x841a20 LDR X2, [X2,#0x148] ; +0x38, 0x841a24 EOR W1, W1, #1 ; +0x3c, 0x841a28 BLR X2 ; +0x40, 0x841a2c LDR X0, [X19,#0x2B0]; this ; +0x44, 0x841a30 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x48, 0x841a34 CMP W20, W0 ; +0x4c, 0x841a38 MOV W1, W20; unsigned int ; +0x50, 0x841a3c ADD W20, W20, #1 ; +0x54, 0x841a40 B.CC loc_841A14 ; +0x58, 0x841a44 MOV W20, #0 ; +0x5c, 0x841a48 B loc_841A6C ; +0x60, 0x841a4c LDR X0, [X19,#0x2C8]; this ; +0x64, 0x841a50 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x68, 0x841a54 LDR X2, [X0] ; +0x6c, 0x841a58 LDRB W1, [X19,#0x380] ; +0x70, 0x841a5c LDR X2, [X2,#0x148] ; +0x74, 0x841a60 EOR W1, W1, #1 ; +0x78, 0x841a64 BLR X2 ; +0x7c, 0x841a68 LDR X0, [X19,#0x2C8]; this ; +0x80, 0x841a6c BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x84, 0x841a70 CMP W20, W0 ; +0x88, 0x841a74 MOV W1, W20; unsigned int ; +0x8c, 0x841a78 ADD W20, W20, #1 ; +0x90, 0x841a7c B.CC loc_841A50 ; +0x94, 0x841a80 LDRB W0, [X19,#0x381] ; +0x98, 0x841a84 MOV W20, #0 ; +0x9c, 0x841a88 CBNZ W0, loc_841AAC ; +0xa0, 0x841a8c B loc_841AF4 ; +0xa4, 0x841a90 LDR X0, [X19,#0x2B8]; this ; +0xa8, 0x841a94 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0xac, 0x841a98 LDR X2, [X0] ; +0xb0, 0x841a9c LDRB W1, [X19,#0x380] ; +0xb4, 0x841aa0 LDR X2, [X2,#0x148] ; +0xb8, 0x841aa4 BLR X2 ; +0xbc, 0x841aa8 LDR X0, [X19,#0x2B8]; this ; +0xc0, 0x841aac BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xc4, 0x841ab0 CMP W20, W0 ; +0xc8, 0x841ab4 MOV W1, W20; unsigned int ; +0xcc, 0x841ab8 ADD W20, W20, #1 ; +0xd0, 0x841abc B.CC loc_841A94 ; +0xd4, 0x841ac0 LDR X0, [X19,#0x320] ; +0xd8, 0x841ac4 CBZ X0, loc_841AF4 ; +0xdc, 0x841ac8 LDR X2, [X0] ; +0xe0, 0x841acc LDRB W1, [X19,#0x380] ; +0xe4, 0x841ad0 LDR X2, [X2,#0x3D8] ; +0xe8, 0x841ad4 BLR X2 ; +0xec, 0x841ad8 LDR X2, [X19,#0x320] ; +0xf0, 0x841adc LDRB W1, [X19,#0x380] ; +0xf4, 0x841ae0 MOV X0, X2 ; +0xf8, 0x841ae4 LDR X2, [X2] ; +0xfc, 0x841ae8 LDR X2, [X2,#0x148] ; +0x100, 0x841aec BLR X2 ; +0x104, 0x841af0 MOV X0, X19; this ; +0x108, 0x841af4 LDP X19, X20, [SP,#var_s10] ; +0x10c, 0x841af8 LDP X29, X30, [SP+var_s0],#0x20 ; +0x110, 0x841afc B _ZN20CustomizeObjectLayer22updateCurrentSelectionEv; CustomizeObjectLayer::updateCurrentSelection(void) ; +0x114, 0x841b00