; ; CreateParticlePopup::toggleGravityMode from 0x9c4b30 to 0x9c4d14 (484 bytes) ; ; 4 xrefs: ; > CreateParticlePopup::onPage @ 0x9c4f08 ; > CreateParticlePopup::onEmitterMode @ 0x9c4f8c ; > CreateParticlePopup::init @ 0x9c5cb8 ; > @ 0xb14e0 ; ; 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,#-0x40+var_s0]! ; +0x0, 0x9c4b30 MOV X29, SP ; +0x4, 0x9c4b34 STP X19, X20, [SP,#var_s10] ; +0x8, 0x9c4b38 UXTB W20, W1 ; +0xc, 0x9c4b3c MOV W1, #0; int ; +0x10, 0x9c4b40 STP X23, X24, [SP,#var_s30] ; +0x14, 0x9c4b44 STP X21, X22, [SP,#var_s20] ; +0x18, 0x9c4b48 MOV X21, X0 ; +0x1c, 0x9c4b4c BL _ZN19CreateParticlePopup17getPageInputNodesEi; CreateParticlePopup::getPageInputNodes(int) ; +0x20, 0x9c4b50 MOV W1, #0; int ; +0x24, 0x9c4b54 MOV X23, X0 ; +0x28, 0x9c4b58 MOV X0, X21; this ; +0x2c, 0x9c4b5c MOV X19, #8 ; +0x30, 0x9c4b60 BL _ZN19CreateParticlePopup14getPageSlidersEi; CreateParticlePopup::getPageSliders(int) ; +0x34, 0x9c4b64 MOV X24, X0 ; +0x38, 0x9c4b68 MOV X1, X19; __int64 ; +0x3c, 0x9c4b6c MOV X0, X23; this ; +0x40, 0x9c4b70 BL _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0x44, 0x9c4b74 LDR X2, [X0] ; +0x48, 0x9c4b78 MOV W1, W20 ; +0x4c, 0x9c4b7c LDR X2, [X2,#0x148] ; +0x50, 0x9c4b80 BLR X2 ; +0x54, 0x9c4b84 MOV X1, X19; __int64 ; +0x58, 0x9c4b88 MOV X0, X23; this ; +0x5c, 0x9c4b8c BL _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0x60, 0x9c4b90 LDR X2, [X0] ; +0x64, 0x9c4b94 MOV W1, W20 ; +0x68, 0x9c4b98 LDR X2, [X2,#0x3D8] ; +0x6c, 0x9c4b9c BLR X2 ; +0x70, 0x9c4ba0 MOV X1, X19; __int64 ; +0x74, 0x9c4ba4 MOV X0, X24; this ; +0x78, 0x9c4ba8 BL _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0x7c, 0x9c4bac LDR X2, [X0] ; +0x80, 0x9c4bb0 MOV W1, W20 ; +0x84, 0x9c4bb4 LDR X2, [X2,#0x148] ; +0x88, 0x9c4bb8 BLR X2 ; +0x8c, 0x9c4bbc MOV X1, X19; __int64 ; +0x90, 0x9c4bc0 MOV X0, X24; this ; +0x94, 0x9c4bc4 ADD X19, X19, #1 ; +0x98, 0x9c4bc8 BL _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0x9c, 0x9c4bcc LDR X2, [X0] ; +0xa0, 0x9c4bd0 MOV W1, W20 ; +0xa4, 0x9c4bd4 LDR X2, [X2,#0x3D8] ; +0xa8, 0x9c4bd8 BLR X2 ; +0xac, 0x9c4bdc CMP X19, #0x12 ; +0xb0, 0x9c4be0 B.NE loc_9C4B6C ; +0xb4, 0x9c4be4 EOR W22, W20, #1 ; +0xb8, 0x9c4be8 MOV X19, #0x32 ; '2' ; +0xbc, 0x9c4bec MOV X1, X19; __int64 ; +0xc0, 0x9c4bf0 MOV X0, X23; this ; +0xc4, 0x9c4bf4 BL _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0xc8, 0x9c4bf8 LDR X2, [X0] ; +0xcc, 0x9c4bfc MOV W1, W22 ; +0xd0, 0x9c4c00 LDR X2, [X2,#0x148] ; +0xd4, 0x9c4c04 BLR X2 ; +0xd8, 0x9c4c08 MOV X1, X19; __int64 ; +0xdc, 0x9c4c0c MOV X0, X23; this ; +0xe0, 0x9c4c10 BL _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0xe4, 0x9c4c14 LDR X2, [X0] ; +0xe8, 0x9c4c18 MOV W1, W22 ; +0xec, 0x9c4c1c LDR X2, [X2,#0x3D8] ; +0xf0, 0x9c4c20 BLR X2 ; +0xf4, 0x9c4c24 MOV X1, X19; __int64 ; +0xf8, 0x9c4c28 MOV X0, X24; this ; +0xfc, 0x9c4c2c BL _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0x100, 0x9c4c30 LDR X2, [X0] ; +0x104, 0x9c4c34 MOV W1, W22 ; +0x108, 0x9c4c38 LDR X2, [X2,#0x148] ; +0x10c, 0x9c4c3c BLR X2 ; +0x110, 0x9c4c40 MOV X1, X19; __int64 ; +0x114, 0x9c4c44 MOV X0, X24; this ; +0x118, 0x9c4c48 ADD X19, X19, #1 ; +0x11c, 0x9c4c4c BL _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0x120, 0x9c4c50 LDR X2, [X0] ; +0x124, 0x9c4c54 MOV W1, W22 ; +0x128, 0x9c4c58 LDR X2, [X2,#0x3D8] ; +0x12c, 0x9c4c5c BLR X2 ; +0x130, 0x9c4c60 CMP X19, #0x38 ; '8' ; +0x134, 0x9c4c64 B.NE loc_9C4BF0 ; +0x138, 0x9c4c68 MOV W19, #0 ; +0x13c, 0x9c4c6c B loc_9C4C8C ; +0x140, 0x9c4c70 LDR X0, [X21,#0x380]; this ; +0x144, 0x9c4c74 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x148, 0x9c4c78 LDR X2, [X0] ; +0x14c, 0x9c4c7c MOV W1, W20 ; +0x150, 0x9c4c80 LDR X2, [X2,#0x148] ; +0x154, 0x9c4c84 BLR X2 ; +0x158, 0x9c4c88 LDR X0, [X21,#0x380]; this ; +0x15c, 0x9c4c8c BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x160, 0x9c4c90 CMP W19, W0 ; +0x164, 0x9c4c94 MOV W1, W19; unsigned int ; +0x168, 0x9c4c98 ADD W19, W19, #1 ; +0x16c, 0x9c4c9c B.CC loc_9C4C74 ; +0x170, 0x9c4ca0 MOV W19, #0 ; +0x174, 0x9c4ca4 B loc_9C4CC4 ; +0x178, 0x9c4ca8 LDR X0, [X21,#0x388]; this ; +0x17c, 0x9c4cac BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x180, 0x9c4cb0 LDR X2, [X0] ; +0x184, 0x9c4cb4 MOV W1, W22 ; +0x188, 0x9c4cb8 LDR X2, [X2,#0x148] ; +0x18c, 0x9c4cbc BLR X2 ; +0x190, 0x9c4cc0 LDR X0, [X21,#0x388]; this ; +0x194, 0x9c4cc4 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x198, 0x9c4cc8 CMP W19, W0 ; +0x19c, 0x9c4ccc MOV W1, W19; unsigned int ; +0x1a0, 0x9c4cd0 ADD W19, W19, #1 ; +0x1a4, 0x9c4cd4 B.CC loc_9C4CAC ; +0x1a8, 0x9c4cd8 LDR X1, [X21,#0x2B0] ; +0x1ac, 0x9c4cdc LDR X19, [X21,#0x300] ; +0x1b0, 0x9c4ce0 MOV X0, X1 ; +0x1b4, 0x9c4ce4 LDR X1, [X1] ; +0x1b8, 0x9c4ce8 LDR X1, [X1,#0x628] ; +0x1bc, 0x9c4cec BLR X1 ; +0x1c0, 0x9c4cf0 CMP W0, WZR ; +0x1c4, 0x9c4cf4 CSET W0, EQ ; +0x1c8, 0x9c4cf8 STRB W0, [X19,#0x230] ; +0x1cc, 0x9c4cfc LDP X21, X22, [SP,#var_s20] ; +0x1d0, 0x9c4d00 LDP X19, X20, [SP,#var_s10] ; +0x1d4, 0x9c4d04 LDP X23, X24, [SP,#var_s30] ; +0x1d8, 0x9c4d08 LDP X29, X30, [SP+var_s0],#0x40 ; +0x1dc, 0x9c4d0c RET ; +0x1e0, 0x9c4d10