{"type": "func", "start": 5783268, "end": 5783420, "name": "AccountHelpLayer::create", "pseudocode": "// \n// AccountHelpLayer::create from 0x583ee4 to 0x583f7c (152 bytes)\n// \n// 1 xrefs:\n// > AccountLayer::layerHidden @ 0x583f90\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:56 +0000\n// \n\nGJDropDownLayer *__fastcall AccountHelpLayer::create(AccountHelpLayer *this)\n{\n  GJDropDownLayer *v1; // r4\n  int v2; // r3\n  int *v3; // r0\n\n  v1 = (GJDropDownLayer *)operator new(0x1FCu);\n  GJDropDownLayer::GJDropDownLayer(v1);\n  *(_DWORD *)v1 = &off_CB34D0;\n  *((_DWORD *)v1 + 66) = &off_CB3794;\n  *((_DWORD *)v1 + 67) = &off_CB37CC;\n  *((_DWORD *)v1 + 68) = &off_CB37D8;\n  *((_DWORD *)v1 + 69) = &off_CB37E8;\n  *((_DWORD *)v1 + 70) = &off_CB37FC;\n  *((_DWORD *)v1 + 79) = &off_CB3814;\n  *((_DWORD *)v1 + 83) = &off_CB3854;\n  *((_DWORD *)v1 + 120) = &off_CB3864;\n  *((_DWORD *)v1 + 121) = &off_CB3870;\n  *((_BYTE *)v1 + 504) = 0;\n  if ( GJDropDownLayer::init((GameToolbox **)v1, (cocos2d::CCLabelBMFont *)\"Account Help\") )\n  {\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    v2 = *(_DWORD *)v1;\n    v3 = (int *)v1;\n    v1 = nullptr;\n    (*(void (__fastcall **)(int *))(v2 + 8))(v3);\n  }\n  return v1;\n}", "assembly": "; \n; AccountHelpLayer::create from 0x583ee4 to 0x583f7c (152 bytes)\n; \n; 1 xrefs:\n; > AccountLayer::layerHidden @ 0x583f90\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:56 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x583ee4\nMOV.W           R0, #0x1FC; unsigned int                               ; +0x2, 0x583ee6\nBL              _Znwj; operator new(uint)                              ; +0x6, 0x583eea\nMOV             R4, R0                                                 ; +0xa, 0x583eee\nBL              _ZN15GJDropDownLayerC2Ev; GJDropDownLayer::GJDropDownLayer(void) ; +0xc, 0x583ef0\nLDR             R3, =(_ZTV16AccountHelpLayer_ptr - 0x583EFE)           ; +0x10, 0x583ef4\nMOV             R0, R4; this                                           ; +0x12, 0x583ef6\nLDR             R1, =(aAccountHelp - 0x583F06); \"Account Help\"         ; +0x14, 0x583ef8\nADD             R3, PC; _ZTV16AccountHelpLayer_ptr                     ; +0x16, 0x583efa\nLDR             R3, [R3]; `vtable for'AccountHelpLayer ...             ; +0x18, 0x583efc\nADD.W           R2, R3, #8                                             ; +0x1a, 0x583efe\nADD             R1, PC; \"Account Help\"                                 ; +0x1e, 0x583f02\nSTR             R2, [R4]                                               ; +0x20, 0x583f04\nADD.W           R2, R3, #0x2CC                                         ; +0x22, 0x583f06\nSTR.W           R2, [R4,#0x108]                                        ; +0x26, 0x583f0a\nADD.W           R2, R3, #0x304                                         ; +0x2a, 0x583f0e\nSTR.W           R2, [R4,#0x10C]                                        ; +0x2e, 0x583f12\nADD.W           R2, R3, #0x310                                         ; +0x32, 0x583f16\nSTR.W           R2, [R4,#0x110]                                        ; +0x36, 0x583f1a\nADD.W           R2, R3, #0x320                                         ; +0x3a, 0x583f1e\nSTR.W           R2, [R4,#0x114]                                        ; +0x3e, 0x583f22\nADD.W           R2, R3, #0x334                                         ; +0x42, 0x583f26\nSTR.W           R2, [R4,#0x118]                                        ; +0x46, 0x583f2a\nADD.W           R2, R3, #0x34C                                         ; +0x4a, 0x583f2e\nSTR.W           R2, [R4,#0x13C]                                        ; +0x4e, 0x583f32\nADD.W           R2, R3, #0x38C                                         ; +0x52, 0x583f36\nSTR.W           R2, [R4,#0x14C]                                        ; +0x56, 0x583f3a\nADD.W           R2, R3, #0x39C                                         ; +0x5a, 0x583f3e\nADD.W           R3, R3, #0x3A8                                         ; +0x5e, 0x583f42\nSTR.W           R2, [R4,#0x1E0]                                        ; +0x62, 0x583f46\nSTR.W           R3, [R4,#0x1E4]                                        ; +0x66, 0x583f4a\nMOVS            R3, #0                                                 ; +0x6a, 0x583f4e\nSTRB.W          R3, [R4,#0x1F8]                                        ; +0x6c, 0x583f50\nBL              _ZN15GJDropDownLayer4initEPKc; GJDropDownLayer::init(char const*) ; +0x70, 0x583f54\nMOV             R5, R0                                                 ; +0x74, 0x583f58\nCBZ             R0, loc_583F6E                                         ; +0x76, 0x583f5a\nMOV             R0, R4; this                                           ; +0x78, 0x583f5c\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x7a, 0x583f5e\nB               loc_583F78                                             ; +0x7e, 0x583f62\nMOV             R0, R4; void *                                         ; +0x80, 0x583f64\nBL              _ZdlPv; operator delete(void *)                        ; +0x82, 0x583f66\nBL              __cxa_end_cleanup                                      ; +0x86, 0x583f6a\nLDR             R3, [R4]                                               ; +0x8a, 0x583f6e\nMOV             R0, R4                                                 ; +0x8c, 0x583f70\nMOV             R4, R5                                                 ; +0x8e, 0x583f72\nLDR             R3, [R3,#8]                                            ; +0x90, 0x583f74\nBLX             R3                                                     ; +0x92, 0x583f76\nMOV             R0, R4                                                 ; +0x94, 0x583f78\nPOP             {R3-R5,PC}                                             ; +0x96, 0x583f7a", "xrefs": ["AccountLayer::layerHidden @ 0x583f90"], "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"}