{"type": "func", "start": 4298003680, "end": 4298003732, "name": "GJPromoPopup::onExit", "pseudocode": "// \n// GJPromoPopup::onExit from 0x1002e54e0 to 0x1002e5514 (52 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1007e40b0\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 GJPromoPopup::onExit(GJPromoPopup *a1)\n{\n  cocos2d::CCTextureCache *v2; // x0\n  std::string *p_m_promoFrame; // x1\n\n  cocos2d::CCLayer::onExit(a1);\n  v2 = cocos2d::CCTextureCache::sharedTextureCache();\n  p_m_promoFrame = &a1->m_promoFrame;\n  if ( a1->m_promoFrame.m_data.m_short.shortStorage.__elems_[22] < 0 )\n    p_m_promoFrame = (std::string *)p_m_promoFrame->m_data.m_long.capacitym1;\n  cocos2d::CCTextureCache::removeTextureForKey(v2, (const char *)p_m_promoFrame);\n}", "assembly": "; \n; GJPromoPopup::onExit from 0x1002e54e0 to 0x1002e5514 (52 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1007e40b0\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002e54e0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002e54e4\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002e54e8\nMOV             X19, X0                                                ; +0xc, 0x1002e54ec\nBL              cocos2d__CCLayer__onExit                               ; +0x10, 0x1002e54f0\nBL              cocos2d__CCTextureCache__sharedTextureCache            ; +0x14, 0x1002e54f4\nADD             X1, X19, #0x278                                        ; +0x18, 0x1002e54f8\nLDRSB           W8, [X19,#0x28F]                                       ; +0x1c, 0x1002e54fc\nTBZ             W8, #0x1F, loc_1002E5508                               ; +0x20, 0x1002e5500\nLDR             X1, [X1]                                               ; +0x24, 0x1002e5504\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x28, 0x1002e5508\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x2c, 0x1002e550c\nB               cocos2d__CCTextureCache__removeTextureForKey           ; +0x30, 0x1002e5510", "xrefs": ["<???> @ 0x1007e40b0"], "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"}