{"type": "func", "start": 4300683264, "end": 4300683340, "name": "GauntletSelectLayer::onExit", "pseudocode": "// \n// GauntletSelectLayer::onExit from 0x100573800 to 0x10057384c (76 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100964cb0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GauntletSelectLayer::onExit(GauntletSelectLayer *a1)\n{\n  cocos2d::CCSpriteFrameCache *v1; // rax\n  cocos2d::CCTextureCache *v2; // rax\n\n  cocos2d::CCLayer::onExit(a1);\n  if ( a1->m_exiting )\n  {\n    v1 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();\n    cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile(v1, \"GauntletSheet.plist\");\n    v2 = cocos2d::CCTextureCache::sharedTextureCache();\n    cocos2d::CCTextureCache::removeTextureForKey(v2, \"GauntletSheet.png\");\n  }\n}", "assembly": "; \n; GauntletSelectLayer::onExit from 0x100573800 to 0x10057384c (76 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100964cb0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100573800\nmov     rbp, rsp                                                       ; +0x1, 0x100573801\npush    rbx                                                            ; +0x4, 0x100573804\npush    rax                                                            ; +0x5, 0x100573805\nmov     rbx, rdi                                                       ; +0x6, 0x100573806\ncall    cocos2d__CCLayer__onExit                                       ; +0x9, 0x100573809\ncmp     byte ptr [rbx+1D8h], 1                                         ; +0xe, 0x10057380e\njnz     short loc_100573845                                            ; +0x15, 0x100573815\ncall    cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache            ; +0x17, 0x100573817\nlea     rsi, aGauntletsheetP_0; \"GauntletSheet.plist\"                  ; +0x1c, 0x10057381c\nmov     rdi, rax                                                       ; +0x23, 0x100573823\ncall    cocos2d__CCSpriteFrameCache__removeSpriteFramesFromFile        ; +0x26, 0x100573826\ncall    cocos2d__CCTextureCache__sharedTextureCache                    ; +0x2b, 0x10057382b\nlea     rsi, aGauntletsheetP; \"GauntletSheet.png\"                      ; +0x30, 0x100573830\nmov     rdi, rax                                                       ; +0x37, 0x100573837\nadd     rsp, 8                                                         ; +0x3a, 0x10057383a\npop     rbx                                                            ; +0x3e, 0x10057383e\npop     rbp                                                            ; +0x3f, 0x10057383f\njmp     cocos2d__CCTextureCache__removeTextureForKey                   ; +0x40, 0x100573840\nadd     rsp, 8                                                         ; +0x45, 0x100573845\npop     rbx                                                            ; +0x49, 0x100573849\npop     rbp                                                            ; +0x4a, 0x10057384a\nretn                                                                   ; +0x4b, 0x10057384b", "xrefs": ["<???> @ 0x100964cb0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}