; ; CCSpriteGrayscale::createWithSpriteFrame from 0x1001a3e98 to 0x1001a3f68 (208 bytes) ; ; 1 xrefs: ; > CCSpriteGrayscale::createWithSpriteFrameName @ 0x1001a3fb4 ; ; 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, 0x1001a3e98 STP X20, X19, [SP,#0x20+var_10] ; +0x4, 0x1001a3e9c STP X29, X30, [SP,#0x20+var_s0] ; +0x8, 0x1001a3ea0 ADD X29, SP, #0x20 ; +0xc, 0x1001a3ea4 MOV X20, X0 ; +0x10, 0x1001a3ea8 ADRP X1, #__ZSt7nothrow_ptr@PAGE ; +0x14, 0x1001a3eac LDR X1, [X1,#__ZSt7nothrow_ptr@PAGEOFF]; std::nothrow_t * ; +0x18, 0x1001a3eb0 MOV W0, #0x298; __sz ; +0x1c, 0x1001a3eb4 BL __ZnwmRKSt9nothrow_t; operator new(ulong,std::nothrow_t const&) ; +0x20, 0x1001a3eb8 MOV X19, X0 ; +0x24, 0x1001a3ebc CBZ X0, loc_1001A3F54 ; +0x28, 0x1001a3ec0 MOV X0, X19; void * ; +0x2c, 0x1001a3ec4 MOV W1, #0x298; size_t ; +0x30, 0x1001a3ec8 BL _bzero ; +0x34, 0x1001a3ecc MOV X0, X19 ; +0x38, 0x1001a3ed0 BL cocos2d__CCSprite__CCSprite ; +0x3c, 0x1001a3ed4 ADRL X8, off_1007ACFD0 ; +0x40, 0x1001a3ed8 STR X8, [X19] ; +0x48, 0x1001a3ee0 ADD X9, X8, #(off_1007AD4C0 - 0x1007ACFD0) ; +0x4c, 0x1001a3ee4 STR X9, [X19,#0x140] ; +0x50, 0x1001a3ee8 ADD X9, X8, #(off_1007AD540 - 0x1007ACFD0) ; +0x54, 0x1001a3eec STR X9, [X19,#0x158] ; +0x58, 0x1001a3ef0 CBZ X20, loc_1001A3F44 ; +0x5c, 0x1001a3ef4 MOV X0, X20 ; +0x60, 0x1001a3ef8 BL cocos2d__CCSpriteFrame__getTexture ; +0x64, 0x1001a3efc MOV X1, X0 ; +0x68, 0x1001a3f00 LDR X8, [X19] ; +0x6c, 0x1001a3f04 LDR X8, [X8,#0x3E8] ; +0x70, 0x1001a3f08 ADD X2, X20, #0x5C ; '\' ; +0x74, 0x1001a3f0c MOV X0, X19 ; +0x78, 0x1001a3f10 BLR X8 ; +0x7c, 0x1001a3f14 MOV X21, X0 ; +0x80, 0x1001a3f18 LDR X8, [X19] ; +0x84, 0x1001a3f1c LDR X8, [X8,#0x478] ; +0x88, 0x1001a3f20 MOV X0, X19 ; +0x8c, 0x1001a3f24 MOV X1, X20 ; +0x90, 0x1001a3f28 BLR X8 ; +0x94, 0x1001a3f2c TBZ W21, #0, loc_1001A3F40 ; +0x98, 0x1001a3f30 MOV X0, X19 ; +0x9c, 0x1001a3f34 BL cocos2d__CCObject__autorelease ; +0xa0, 0x1001a3f38 B loc_1001A3F54 ; +0xa4, 0x1001a3f3c LDR X8, [X19] ; +0xa8, 0x1001a3f40 LDR X8, [X8,#0x10] ; +0xac, 0x1001a3f44 MOV X0, X19 ; +0xb0, 0x1001a3f48 BLR X8 ; +0xb4, 0x1001a3f4c MOV X19, #0 ; +0xb8, 0x1001a3f50 MOV X0, X19 ; +0xbc, 0x1001a3f54 LDP X29, X30, [SP,#0x20+var_s0] ; +0xc0, 0x1001a3f58 LDP X20, X19, [SP,#0x20+var_10] ; +0xc4, 0x1001a3f5c LDP X22, X21, [SP+0x20+var_20],#0x30 ; +0xc8, 0x1001a3f60 RET ; +0xcc, 0x1001a3f64