; ; CreateParticlePopup::toggleGravityMode from 0xafee24 to 0xaff008 (484 bytes) ; ; 4 xrefs: ; > CreateParticlePopup::onEmitterMode @ 0xaff088 ; > CreateParticlePopup::onPage @ 0xaff290 ; > CreateParticlePopup::init @ 0xb01ea0 ; > @ 0xe8060 ; ; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 13:01:19 +0000 ; STP X29, X30, [SP,#-0x40+var_s0]! ; +0x0, 0xafee24 MOV X29, SP ; +0x4, 0xafee28 STP X19, X20, [SP,#var_s10] ; +0x8, 0xafee2c UXTB W20, W1 ; +0xc, 0xafee30 MOV W1, #0; int ; +0x10, 0xafee34 STP X23, X24, [SP,#var_s30] ; +0x14, 0xafee38 STP X21, X22, [SP,#var_s20] ; +0x18, 0xafee3c MOV X21, X0 ; +0x1c, 0xafee40 BL _ZN19CreateParticlePopup17getPageInputNodesEi; CreateParticlePopup::getPageInputNodes(int) ; +0x20, 0xafee44 MOV W1, #0; int ; +0x24, 0xafee48 MOV X23, X0 ; +0x28, 0xafee4c MOV X0, X21; this ; +0x2c, 0xafee50 MOV X19, #8 ; +0x30, 0xafee54 BL _ZN19CreateParticlePopup14getPageSlidersEi; CreateParticlePopup::getPageSliders(int) ; +0x34, 0xafee58 MOV X24, X0 ; +0x38, 0xafee5c MOV X1, X19; __int64 ; +0x3c, 0xafee60 MOV X0, X23; this ; +0x40, 0xafee64 BL _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0x44, 0xafee68 LDR X2, [X0] ; +0x48, 0xafee6c MOV W1, W20 ; +0x4c, 0xafee70 LDR X2, [X2,#0x158] ; +0x50, 0xafee74 BLR X2 ; +0x54, 0xafee78 MOV X1, X19; __int64 ; +0x58, 0xafee7c MOV X0, X23; this ; +0x5c, 0xafee80 BL _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0x60, 0xafee84 LDR X2, [X0] ; +0x64, 0xafee88 MOV W1, W20 ; +0x68, 0xafee8c LDR X2, [X2,#0x3E8] ; +0x6c, 0xafee90 BLR X2 ; +0x70, 0xafee94 MOV X1, X19; __int64 ; +0x74, 0xafee98 MOV X0, X24; this ; +0x78, 0xafee9c BL _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0x7c, 0xafeea0 LDR X2, [X0] ; +0x80, 0xafeea4 MOV W1, W20 ; +0x84, 0xafeea8 LDR X2, [X2,#0x158] ; +0x88, 0xafeeac BLR X2 ; +0x8c, 0xafeeb0 MOV X1, X19; __int64 ; +0x90, 0xafeeb4 MOV X0, X24; this ; +0x94, 0xafeeb8 ADD X19, X19, #1 ; +0x98, 0xafeebc BL _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0x9c, 0xafeec0 LDR X2, [X0] ; +0xa0, 0xafeec4 MOV W1, W20 ; +0xa4, 0xafeec8 LDR X2, [X2,#0x3E8] ; +0xa8, 0xafeecc BLR X2 ; +0xac, 0xafeed0 CMP X19, #0x12 ; +0xb0, 0xafeed4 B.NE loc_AFEE60 ; +0xb4, 0xafeed8 EOR W22, W20, #1 ; +0xb8, 0xafeedc MOV X19, #0x32 ; '2' ; +0xbc, 0xafeee0 MOV X1, X19; __int64 ; +0xc0, 0xafeee4 MOV X0, X23; this ; +0xc4, 0xafeee8 BL _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0xc8, 0xafeeec LDR X2, [X0] ; +0xcc, 0xafeef0 MOV W1, W22 ; +0xd0, 0xafeef4 LDR X2, [X2,#0x158] ; +0xd4, 0xafeef8 BLR X2 ; +0xd8, 0xafeefc MOV X1, X19; __int64 ; +0xdc, 0xafef00 MOV X0, X23; this ; +0xe0, 0xafef04 BL _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0xe4, 0xafef08 LDR X2, [X0] ; +0xe8, 0xafef0c MOV W1, W22 ; +0xec, 0xafef10 LDR X2, [X2,#0x3E8] ; +0xf0, 0xafef14 BLR X2 ; +0xf4, 0xafef18 MOV X1, X19; __int64 ; +0xf8, 0xafef1c MOV X0, X24; this ; +0xfc, 0xafef20 BL _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0x100, 0xafef24 LDR X2, [X0] ; +0x104, 0xafef28 MOV W1, W22 ; +0x108, 0xafef2c LDR X2, [X2,#0x158] ; +0x10c, 0xafef30 BLR X2 ; +0x110, 0xafef34 MOV X1, X19; __int64 ; +0x114, 0xafef38 MOV X0, X24; this ; +0x118, 0xafef3c ADD X19, X19, #1 ; +0x11c, 0xafef40 BL _ZN7cocos2d12CCDictionary12objectForKeyEl; cocos2d::CCDictionary::objectForKey(long) ; +0x120, 0xafef44 LDR X2, [X0] ; +0x124, 0xafef48 MOV W1, W22 ; +0x128, 0xafef4c LDR X2, [X2,#0x3E8] ; +0x12c, 0xafef50 BLR X2 ; +0x130, 0xafef54 CMP X19, #0x38 ; '8' ; +0x134, 0xafef58 B.NE loc_AFEEE4 ; +0x138, 0xafef5c MOV W19, #0 ; +0x13c, 0xafef60 B loc_AFEF80 ; +0x140, 0xafef64 LDR X0, [X21,#0x3C0]; this ; +0x144, 0xafef68 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x148, 0xafef6c LDR X2, [X0] ; +0x14c, 0xafef70 MOV W1, W20 ; +0x150, 0xafef74 LDR X2, [X2,#0x158] ; +0x154, 0xafef78 BLR X2 ; +0x158, 0xafef7c LDR X0, [X21,#0x3C0]; this ; +0x15c, 0xafef80 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x160, 0xafef84 CMP W19, W0 ; +0x164, 0xafef88 MOV W1, W19; unsigned int ; +0x168, 0xafef8c ADD W19, W19, #1 ; +0x16c, 0xafef90 B.CC loc_AFEF68 ; +0x170, 0xafef94 MOV W19, #0 ; +0x174, 0xafef98 B loc_AFEFB8 ; +0x178, 0xafef9c LDR X0, [X21,#0x3C8]; this ; +0x17c, 0xafefa0 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x180, 0xafefa4 LDR X2, [X0] ; +0x184, 0xafefa8 MOV W1, W22 ; +0x188, 0xafefac LDR X2, [X2,#0x158] ; +0x18c, 0xafefb0 BLR X2 ; +0x190, 0xafefb4 LDR X0, [X21,#0x3C8]; this ; +0x194, 0xafefb8 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x198, 0xafefbc CMP W19, W0 ; +0x19c, 0xafefc0 MOV W1, W19; unsigned int ; +0x1a0, 0xafefc4 ADD W19, W19, #1 ; +0x1a4, 0xafefc8 B.CC loc_AFEFA0 ; +0x1a8, 0xafefcc LDR X1, [X21,#0x2C8] ; +0x1ac, 0xafefd0 LDR X19, [X21,#0x318] ; +0x1b0, 0xafefd4 MOV X0, X1 ; +0x1b4, 0xafefd8 LDR X1, [X1] ; +0x1b8, 0xafefdc LDR X1, [X1,#0x638] ; +0x1bc, 0xafefe0 BLR X1 ; +0x1c0, 0xafefe4 CMP W0, WZR ; +0x1c4, 0xafefe8 CSET W0, EQ ; +0x1c8, 0xafefec STRB W0, [X19,#0x230] ; +0x1cc, 0xafeff0 LDP X19, X20, [SP,#var_s10] ; +0x1d0, 0xafeff4 LDP X21, X22, [SP,#var_s20] ; +0x1d4, 0xafeff8 LDP X23, X24, [SP,#var_s30] ; +0x1d8, 0xafeffc LDP X29, X30, [SP+var_s0],#0x40 ; +0x1dc, 0xaff000 RET ; +0x1e0, 0xaff004