{"type": "func", "start": 4299455888, "end": 4299456020, "name": "GJAccountManager::showAccountNeededAlert", "pseudocode": "// \n// GJAccountManager::showAccountNeededAlert from 0x100447d90 to 0x100447e14 (132 bytes)\n// \n// 9 xrefs:\n// > EditLevelLayer::onShare @ 0x10011059c\n// > CommentCell::onLike @ 0x100138720\n// > sub_10022D964 @ 0x10022d9cc\n// > ProfilePage::onFriend @ 0x10022dabc\n// > sub_10022DE90 @ 0x10022def0\n// > sub_1002E225C @ 0x1002e22f8\n// > sub_1003EFD70 @ 0x1003efdf8\n// > sub_1004D1FE0 @ 0x1004d206c\n// > sub_1004D65A0 @ 0x1004d6628\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:05:15 +0000\n// \n\nvoid __fastcall GJAccountManager::showAccountNeededAlert(__int64 a1, const char *a2)\n{\n  void *v2; // x0\n  char *CString; // x0\n  void *v4; // x0\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  v2 = sub_1003065B0(\"You need an <cl>account</c> to %s.\\nYou can create one for free in the <cy>main menu</c>.\", a2);\n  CString = (char *)cocos2d::CCString::getCString((__int64)v2);\n  sub_100009900(__p, CString);\n  v4 = FLAlertLayer::create_1(0, (__int64)\"Account Needed\", (__int64)__p, (__int64)\"Close\", 0, 380.0);\n  (*(void (__fastcall **)(void *))(*(_QWORD *)v4 + 1312LL))(v4);\n  if ( v6 < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; GJAccountManager::showAccountNeededAlert from 0x100447d90 to 0x100447e14 (132 bytes)\n; \n; 9 xrefs:\n; > EditLevelLayer::onShare @ 0x10011059c\n; > CommentCell::onLike @ 0x100138720\n; > sub_10022D964 @ 0x10022d9cc\n; > ProfilePage::onFriend @ 0x10022dabc\n; > sub_10022DE90 @ 0x10022def0\n; > sub_1002E225C @ 0x1002e22f8\n; > sub_1003EFD70 @ 0x1003efdf8\n; > sub_1004D1FE0 @ 0x1004d206c\n; > sub_1004D65A0 @ 0x1004d6628\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:05:15 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x100447d90\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100447d94\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100447d98\nADD             X29, SP, #0x30                                         ; +0xc, 0x100447d9c\nSTR             X1, [SP,#0x30+var_30]                                  ; +0x10, 0x100447da0\nADRL            X0, aYouNeedAnClAcc; \"You need an <cl>account</c> to %s.\\nYou\"... ; +0x14, 0x100447da4\nBL              sub_1003065B0                                          ; +0x1c, 0x100447dac\nBL              cocos2d__CCString__getCString                          ; +0x20, 0x100447db0\nMOV             X1, X0; __s                                            ; +0x24, 0x100447db4\nADD             X0, SP, #0x30+__p; int                                 ; +0x28, 0x100447db8\nBL              sub_100009900                                          ; +0x2c, 0x100447dbc\nADRL            X1, aAccountNeeded; \"Account Needed\"                   ; +0x30, 0x100447dc0\nADRL            X3, aClose; \"Close\"                                    ; +0x38, 0x100447dc8\nMOV             W8, #0x43BE0000                                        ; +0x40, 0x100447dd0\nFMOV            S0, W8                                                 ; +0x44, 0x100447dd4\nADD             X2, SP, #0x30+__p                                      ; +0x48, 0x100447dd8\nMOV             X0, #0                                                 ; +0x4c, 0x100447ddc\nMOV             X4, #0                                                 ; +0x50, 0x100447de0\nBL              FLAlertLayer__create_1                                 ; +0x54, 0x100447de4\nLDR             X8, [X0]                                               ; +0x58, 0x100447de8\nLDR             X8, [X8,#0x520]                                        ; +0x5c, 0x100447dec\nBLR             X8                                                     ; +0x60, 0x100447df0\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x64, 0x100447df4\nTBZ             W8, #0x1F, loc_100447E04                               ; +0x68, 0x100447df8\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x6c, 0x100447dfc\nBL              __ZdlPv; operator delete(void *)                       ; +0x70, 0x100447e00\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x74, 0x100447e04\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x78, 0x100447e08\nADD             SP, SP, #0x40 ; '@'                                    ; +0x7c, 0x100447e0c\nRET                                                                    ; +0x80, 0x100447e10", "xrefs": ["EditLevelLayer::onShare @ 0x10011059c", "CommentCell::onLike @ 0x100138720", "sub_10022D964 @ 0x10022d9cc", "ProfilePage::onFriend @ 0x10022dabc", "sub_10022DE90 @ 0x10022def0", "sub_1002E225C @ 0x1002e22f8", "sub_1003EFD70 @ 0x1003efdf8", "sub_1004D1FE0 @ 0x1004d206c", "sub_1004D65A0 @ 0x1004d6628"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}