; ; CCSpriteGrayscale::createWithSpriteFrameName from 0x1005f1120 to 0x1005f1155 (53 bytes) ; ; 10 xrefs: ; > RewardUnlockLayer::init @ 0x10021c2f2 ; > LevelAreaInnerLayer::init @ 0x10027a8cc ; > CreatorLayer::init @ 0x100297cee ; > GJPathPage::init @ 0x1002ff2ab ; > GJPathPage::init @ 0x1002ff9bc ; > GJPathSprite::changeToLockedArt @ 0x100301a55 ; > LevelListLayer::updateStatsArt @ 0x10035ec67 ; > GauntletSprite::addLockedSprite @ 0x100394ecb ; > SecretLayer5::init @ 0x10047a7eb ; > ProfilePage::loadPageFromUserInfo @ 0x1007bb2e3 ; ; 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 ; push rbp ; +0x0, 0x1005f1120 mov rbp, rsp ; +0x1, 0x1005f1121 push rbx ; +0x4, 0x1005f1124 push rax ; +0x5, 0x1005f1125 mov rbx, rdi ; +0x6, 0x1005f1126 call cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache ; +0x9, 0x1005f1129 test byte ptr [rbx], 1 ; +0xe, 0x1005f112e jz short loc_1005F1139 ; +0x11, 0x1005f1131 mov rbx, [rbx+10h] ; +0x13, 0x1005f1133 jmp short loc_1005F113C ; +0x17, 0x1005f1137 inc rbx ; +0x19, 0x1005f1139 mov rdi, rax ; +0x1c, 0x1005f113c mov rsi, rbx ; +0x1f, 0x1005f113f call cocos2d__CCSpriteFrameCache__spriteFrameByName ; +0x22, 0x1005f1142 mov rdi, rax ; +0x27, 0x1005f1147 add rsp, 8 ; +0x2a, 0x1005f114a pop rbx ; +0x2e, 0x1005f114e pop rbp ; +0x2f, 0x1005f114f jmp CCSpriteGrayscale__createWithSpriteFrame ; +0x30, 0x1005f1150