{"type": "func", "start": 5789704, "end": 5789846, "name": "AccountRegisterLayer::~AccountRegisterLayer", "pseudocode": "// \n// AccountRegisterLayer::~AccountRegisterLayer from 0x585808 to 0x585896 (142 bytes)\n// \n// 2 xrefs:\n// > `non-virtual thunk to'AccountRegisterLayer::~AccountRegisterLayer @ 0x5858a0\n// > AccountRegisterLayer::~AccountRegisterLayer @ 0x5858a8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:52:57 +0000\n// \n\n// Alternative name is '_ZN20AccountRegisterLayerD1Ev'\nvoid __fastcall AccountRegisterLayer::~AccountRegisterLayer(AccountRegisterLayer *this)\n{\n  AccountRegisterLayer **v2; // r0\n  cocos2d::CCObject *v3; // r0\n\n  *(_DWORD *)this = &off_CB3900;\n  *((_DWORD *)this + 66) = &off_CB3BC4;\n  *((_DWORD *)this + 67) = &off_CB3BFC;\n  *((_DWORD *)this + 68) = &off_CB3C08;\n  *((_DWORD *)this + 69) = &off_CB3C18;\n  *((_DWORD *)this + 70) = &off_CB3C2C;\n  *((_DWORD *)this + 79) = &off_CB3C44;\n  *((_DWORD *)this + 83) = &off_CB3C84;\n  *((_DWORD *)this + 110) = &off_CB3C94;\n  *((_DWORD *)this + 130) = &off_CB3CB8;\n  *((_DWORD *)this + 131) = &off_CB3CC8;\n  v2 = (AccountRegisterLayer **)GJAccountManager::sharedState(this);\n  if ( v2[76] == (AccountRegisterLayer *)((char *)this + 520) )\n    *(_DWORD *)(GJAccountManager::sharedState((GJAccountManager *)v2) + 304) = 0;\n  v3 = *((cocos2d::CCObject **)this + 143);\n  if ( v3 )\n    cocos2d::CCObject::release(v3);\n  FLAlertLayer::~FLAlertLayer(this);\n}", "assembly": "; \n; AccountRegisterLayer::~AccountRegisterLayer from 0x585808 to 0x585896 (142 bytes)\n; \n; 2 xrefs:\n; > `non-virtual thunk to'AccountRegisterLayer::~AccountRegisterLayer @ 0x5858a0\n; > AccountRegisterLayer::~AccountRegisterLayer @ 0x5858a8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:52:57 +0000\n; \nLDR             R3, =(_ZTV20AccountRegisterLayer_ptr - 0x585810)       ; +0x0, 0x585808\nPUSH            {R4,LR}                                                ; +0x2, 0x58580a\nADD             R3, PC; _ZTV20AccountRegisterLayer_ptr                 ; +0x4, 0x58580c\nLDR             R3, [R3]; `vtable for'AccountRegisterLayer ...         ; +0x6, 0x58580e\nADD.W           R2, R3, #8                                             ; +0x8, 0x585810\nSTR             R2, [R0]                                               ; +0xc, 0x585814\nADD.W           R2, R3, #0x2CC                                         ; +0xe, 0x585816\nSTR.W           R2, [R0,#0x108]                                        ; +0x12, 0x58581a\nADD.W           R2, R3, #0x304                                         ; +0x16, 0x58581e\nSTR.W           R2, [R0,#0x10C]                                        ; +0x1a, 0x585822\nADD.W           R2, R3, #0x310                                         ; +0x1e, 0x585826\nSTR.W           R2, [R0,#0x110]                                        ; +0x22, 0x58582a\nADD.W           R2, R3, #0x320                                         ; +0x26, 0x58582e\nSTR.W           R2, [R0,#0x114]                                        ; +0x2a, 0x585832\nADD.W           R2, R3, #0x334                                         ; +0x2e, 0x585836\nSTR.W           R2, [R0,#0x118]                                        ; +0x32, 0x58583a\nADD.W           R2, R3, #0x34C                                         ; +0x36, 0x58583e\nSTR.W           R2, [R0,#0x13C]                                        ; +0x3a, 0x585842\nADD.W           R2, R3, #0x38C                                         ; +0x3e, 0x585846\nSTR.W           R2, [R0,#0x14C]                                        ; +0x42, 0x58584a\nADD.W           R2, R3, #0x39C                                         ; +0x46, 0x58584e\nSTR.W           R2, [R0,#0x1B8]                                        ; +0x4a, 0x585852\nADD.W           R2, R3, #0x3C0                                         ; +0x4e, 0x585856\nADD.W           R3, R3, #0x3D0                                         ; +0x52, 0x58585a\nSTR.W           R2, [R0,#0x208]                                        ; +0x56, 0x58585e\nMOV             R4, R0                                                 ; +0x5a, 0x585862\nSTR.W           R3, [R0,#0x20C]                                        ; +0x5c, 0x585864\nBL              _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x60, 0x585868\nADD.W           R3, R4, #0x208                                         ; +0x64, 0x58586c\nLDR.W           R2, [R0,#0x130]                                        ; +0x68, 0x585870\nCMP             R2, R3                                                 ; +0x6c, 0x585874\nBNE             loc_585882                                             ; +0x6e, 0x585876\nBL              _ZN16GJAccountManager11sharedStateEv; GJAccountManager::sharedState(void) ; +0x70, 0x585878\nMOVS            R3, #0                                                 ; +0x74, 0x58587c\nSTR.W           R3, [R0,#0x130]                                        ; +0x76, 0x58587e\nLDR.W           R0, [R4,#0x23C]; this                                  ; +0x7a, 0x585882\nCBZ             R0, loc_58588C                                         ; +0x7e, 0x585886\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x80, 0x585888\nMOV             R0, R4; this                                           ; +0x84, 0x58588c\nBL              _ZN12FLAlertLayerD2Ev; FLAlertLayer::~FLAlertLayer()   ; +0x86, 0x58588e\nMOV             R0, R4                                                 ; +0x8a, 0x585892\nPOP             {R4,PC}                                                ; +0x8c, 0x585894", "xrefs": ["`non-virtual thunk to'AccountRegisterLayer::~AccountRegisterLayer @ 0x5858a0", "AccountRegisterLayer::~AccountRegisterLayer @ 0x5858a8"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}