{"type": "func", "start": 7738904, "end": 7739076, "name": "ClearPlatformerSavesPopup::create", "pseudocode": "// \n// ClearPlatformerSavesPopup::create from 0x761618 to 0x7616c4 (172 bytes)\n// \n// 1 xrefs:\n// > GameSettingsLayer::onCustomButton @ 0x710b94\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:59:04 +0000\n// \n\nint *__fastcall ClearPlatformerSavesPopup::create(ClearPlatformerSavesPopup *this)\n{\n  int *v1; // r4\n  int v2; // r3\n  int *v3; // r0\n\n  v1 = (int *)operator new(0x21Cu);\n  memset(v1, 0, 0x21Cu);\n  FLAlertLayer::FLAlertLayer((FLAlertLayer *)v1);\n  *v1 = (int)&off_CF3ED0;\n  v1[66] = (int)&off_CF417C;\n  v1[67] = (int)&off_CF41B4;\n  v1[68] = (int)&off_CF41C0;\n  v1[69] = (int)&off_CF41D0;\n  v1[70] = (int)&off_CF41E4;\n  v1[79] = (int)&off_CF41FC;\n  v1[83] = (int)&off_CF423C;\n  v1[110] = (int)&off_CF424C;\n  v1[130] = (int)&off_CF4270;\n  *((_BYTE *)v1 + 524) = 0;\n  v1[132] = 0;\n  v1[133] = 0;\n  v1[134] = 0;\n  if ( ClearPlatformerSavesPopup::init((ClearPlatformerSavesPopup *)v1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);\n  }\n  else\n  {\n    v2 = *v1;\n    v3 = v1;\n    v1 = nullptr;\n    (*(void (__fastcall **)(int *))(v2 + 8))(v3);\n  }\n  return v1;\n}", "assembly": "; \n; ClearPlatformerSavesPopup::create from 0x761618 to 0x7616c4 (172 bytes)\n; \n; 1 xrefs:\n; > GameSettingsLayer::onCustomButton @ 0x710b94\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:59:04 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x761618\nMOV.W           R0, #0x21C; unsigned int                               ; +0x2, 0x76161a\nBL              _Znwj; operator new(uint)                              ; +0x6, 0x76161e\nMOVS            R1, #0; int                                            ; +0xa, 0x761622\nMOV.W           R2, #0x21C; size_t                                     ; +0xc, 0x761624\nMOV             R4, R0                                                 ; +0x10, 0x761628\nBLX             memset                                                 ; +0x12, 0x76162a\nMOV             R0, R4; this                                           ; +0x16, 0x76162e\nBL              _ZN12FLAlertLayerC2Ev; FLAlertLayer::FLAlertLayer(void) ; +0x18, 0x761630\nLDR             R3, =(_ZTV25ClearPlatformerSavesPopup_ptr - 0x76163C)  ; +0x1c, 0x761634\nMOV             R0, R4; this                                           ; +0x1e, 0x761636\nADD             R3, PC; _ZTV25ClearPlatformerSavesPopup_ptr            ; +0x20, 0x761638\nLDR             R3, [R3]; `vtable for'ClearPlatformerSavesPopup ...    ; +0x22, 0x76163a\nADD.W           R2, R3, #8                                             ; +0x24, 0x76163c\nSTR             R2, [R4]                                               ; +0x28, 0x761640\nADD.W           R2, R3, #0x2B4                                         ; +0x2a, 0x761642\nSTR.W           R2, [R4,#0x108]                                        ; +0x2e, 0x761646\nADD.W           R2, R3, #0x2EC                                         ; +0x32, 0x76164a\nSTR.W           R2, [R4,#0x10C]                                        ; +0x36, 0x76164e\nADD.W           R2, R3, #0x2F8                                         ; +0x3a, 0x761652\nSTR.W           R2, [R4,#0x110]                                        ; +0x3e, 0x761656\nADD.W           R2, R3, #0x308                                         ; +0x42, 0x76165a\nSTR.W           R2, [R4,#0x114]                                        ; +0x46, 0x76165e\nADD.W           R2, R3, #0x31C                                         ; +0x4a, 0x761662\nSTR.W           R2, [R4,#0x118]                                        ; +0x4e, 0x761666\nADD.W           R2, R3, #0x334                                         ; +0x52, 0x76166a\nSTR.W           R2, [R4,#0x13C]                                        ; +0x56, 0x76166e\nADD.W           R2, R3, #0x374                                         ; +0x5a, 0x761672\nSTR.W           R2, [R4,#0x14C]                                        ; +0x5e, 0x761676\nADD.W           R2, R3, #0x384                                         ; +0x62, 0x76167a\nADD.W           R3, R3, #0x3A8                                         ; +0x66, 0x76167e\nSTR.W           R2, [R4,#0x1B8]                                        ; +0x6a, 0x761682\nSTR.W           R3, [R4,#0x208]                                        ; +0x6e, 0x761686\nMOVS            R3, #0                                                 ; +0x72, 0x76168a\nSTRB.W          R3, [R4,#0x20C]                                        ; +0x74, 0x76168c\nSTR.W           R3, [R4,#0x210]                                        ; +0x78, 0x761690\nSTR.W           R3, [R4,#0x214]                                        ; +0x7c, 0x761694\nSTR.W           R3, [R4,#0x218]                                        ; +0x80, 0x761698\nBL              _ZN25ClearPlatformerSavesPopup4initEv; ClearPlatformerSavesPopup::init(void) ; +0x84, 0x76169c\nMOV             R5, R0                                                 ; +0x88, 0x7616a0\nCBZ             R0, loc_7616B6                                         ; +0x8a, 0x7616a2\nMOV             R0, R4; this                                           ; +0x8c, 0x7616a4\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x8e, 0x7616a6\nB               loc_7616C0                                             ; +0x92, 0x7616aa\nMOV             R0, R4; void *                                         ; +0x94, 0x7616ac\nBL              _ZdlPv; operator delete(void *)                        ; +0x96, 0x7616ae\nBL              __cxa_end_cleanup                                      ; +0x9a, 0x7616b2\nLDR             R3, [R4]                                               ; +0x9e, 0x7616b6\nMOV             R0, R4                                                 ; +0xa0, 0x7616b8\nMOV             R4, R5                                                 ; +0xa2, 0x7616ba\nLDR             R3, [R3,#8]                                            ; +0xa4, 0x7616bc\nBLX             R3                                                     ; +0xa6, 0x7616be\nMOV             R0, R4                                                 ; +0xa8, 0x7616c0\nPOP             {R3-R5,PC}                                             ; +0xaa, 0x7616c2", "xrefs": ["GameSettingsLayer::onCustomButton @ 0x710b94"], "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"}