; ; CCSpritePlus::setFlipX from 0x1001b7e8c to 0x1001b7f44 (184 bytes) ; ; 3 xrefs: ; > @ 0x10077bc48 ; > @ 0x1007b3450 ; > @ 0x1007efad0 ; ; 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 X22, X21, [SP,#-0x10+var_20]! ; +0x0, 0x1001b7e8c STP X20, X19, [SP,#0x20+var_10] ; +0x4, 0x1001b7e90 STP X29, X30, [SP,#0x20+var_s0] ; +0x8, 0x1001b7e94 ADD X29, SP, #0x20 ; +0xc, 0x1001b7e98 MOV X19, X1 ; +0x10, 0x1001b7e9c MOV X20, X0 ; +0x14, 0x1001b7ea0 BL cocos2d__CCSprite__setFlipX ; +0x18, 0x1001b7ea4 LDRB W8, [X20,#0x26A] ; +0x1c, 0x1001b7ea8 CMP W8, #1 ; +0x20, 0x1001b7eac B.NE loc_1001B7EF0 ; +0x24, 0x1001b7eb0 LDR X0, [X20,#0xD0] ; +0x28, 0x1001b7eb4 CBZ X0, loc_1001B7EF0 ; +0x2c, 0x1001b7eb8 BL sub_10024A36C ; +0x30, 0x1001b7ebc CBZ W0, loc_1001B7EF0 ; +0x34, 0x1001b7ec0 MOV W21, #0 ; +0x38, 0x1001b7ec4 LDR X0, [X20,#0xD0] ; +0x3c, 0x1001b7ec8 MOV X1, X21 ; +0x40, 0x1001b7ecc BL sub_10024A388 ; +0x44, 0x1001b7ed0 MOV X1, X19 ; +0x48, 0x1001b7ed4 BL cocos2d__CCSprite__setFlipX ; +0x4c, 0x1001b7ed8 ADD W21, W21, #1 ; +0x50, 0x1001b7edc LDR X0, [X20,#0xD0] ; +0x54, 0x1001b7ee0 BL sub_10024A36C ; +0x58, 0x1001b7ee4 CMP W21, W0 ; +0x5c, 0x1001b7ee8 B.CC loc_1001B7EC8 ; +0x60, 0x1001b7eec LDRB W8, [X20,#0x268] ; +0x64, 0x1001b7ef0 CMP W8, #1 ; +0x68, 0x1001b7ef4 B.NE loc_1001B7F34 ; +0x6c, 0x1001b7ef8 LDR X0, [X20,#0x258] ; +0x70, 0x1001b7efc BL sub_10024A36C ; +0x74, 0x1001b7f00 CBZ W0, loc_1001B7F34 ; +0x78, 0x1001b7f04 MOV W21, #0 ; +0x7c, 0x1001b7f08 LDR X0, [X20,#0x258] ; +0x80, 0x1001b7f0c MOV X1, X21 ; +0x84, 0x1001b7f10 BL sub_10024A388 ; +0x88, 0x1001b7f14 MOV X1, X19 ; +0x8c, 0x1001b7f18 BL cocos2d__CCSprite__setFlipX ; +0x90, 0x1001b7f1c ADD W21, W21, #1 ; +0x94, 0x1001b7f20 LDR X0, [X20,#0x258] ; +0x98, 0x1001b7f24 BL sub_10024A36C ; +0x9c, 0x1001b7f28 CMP W21, W0 ; +0xa0, 0x1001b7f2c B.CC loc_1001B7F0C ; +0xa4, 0x1001b7f30 LDP X29, X30, [SP,#0x20+var_s0] ; +0xa8, 0x1001b7f34 LDP X20, X19, [SP,#0x20+var_10] ; +0xac, 0x1001b7f38 LDP X22, X21, [SP+0x20+var_20],#0x30 ; +0xb0, 0x1001b7f3c RET ; +0xb4, 0x1001b7f40