{"type": "func", "start": 4297273240, "end": 4297273384, "name": "MyStuffPopup::onSocialPage", "pseudocode": "// \n// MyStuffPopup::onSocialPage from 0x100232f98 to 0x100233028 (144 bytes)\n// \n// 1 xrefs:\n// > MyStuffPopup::init @ 0x100232e58\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:01:18 +0000\n// \n\nvoid __fastcall MyStuffPopup::onSocialPage(__int64 a1, __int64 a2)\n{\n  __int64 v2; // x19\n  int v3; // w0\n  __int64 v4; // x0\n  std::string::size_type size; // x9\n  char v6; // w8\n  __int64 v7; // x0\n  std::string *p_p; // x1\n  std::string __p; // [xsp+8h] [xbp-28h] BYREF\n\n  v2 = *(_QWORD *)(a1 + 664);\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n  sub_10023051C(v2, v3, &__p);\n  size = HIBYTE(__p.__r_.__value_.__r.__words[2]);\n  v6 = HIBYTE(__p.__r_.__value_.__r.__words[2]);\n  if ( (__p.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) != 0LL )\n    size = __p.__r_.__value_.__l.__size_;\n  if ( size )\n  {\n    v7 = cocos2d::CCApplication::sharedApplication(v4);\n    if ( (__p.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )\n      p_p = &__p;\n    else\n      p_p = (std::string *)__p.__r_.__value_.__r.__words[0];\n    (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v7 + 104LL))(v7, p_p);\n    v6 = HIBYTE(__p.__r_.__value_.__r.__words[2]);\n  }\n  if ( v6 < 0 )\n    operator delete(__p.__r_.__value_.__l.__data_);\n}", "assembly": "; \n; MyStuffPopup::onSocialPage from 0x100232f98 to 0x100233028 (144 bytes)\n; \n; 1 xrefs:\n; > MyStuffPopup::init @ 0x100232e58\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:01:18 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x100232f98\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100232f9c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100232fa0\nADD             X29, SP, #0x30                                         ; +0xc, 0x100232fa4\nLDR             X19, [X0,#0x298]                                       ; +0x10, 0x100232fa8\nLDR             X8, [X1]                                               ; +0x14, 0x100232fac\nLDR             X8, [X8,#0x40]                                         ; +0x18, 0x100232fb0\nMOV             X0, X1                                                 ; +0x1c, 0x100232fb4\nBLR             X8                                                     ; +0x20, 0x100232fb8\nMOV             X1, X0                                                 ; +0x24, 0x100232fbc\nADD             X8, SP, #0x30+__p                                      ; +0x28, 0x100232fc0\nMOV             X0, X19                                                ; +0x2c, 0x100232fc4\nBL              sub_10023051C                                          ; +0x30, 0x100232fc8\nLDRB            W9, [SP,#0x30+var_11]                                  ; +0x34, 0x100232fcc\nSXTB            W8, W9                                                 ; +0x38, 0x100232fd0\nLDR             X10, [SP,#0x30+var_20]                                 ; +0x3c, 0x100232fd4\nCMP             W8, #0                                                 ; +0x40, 0x100232fd8\nCSEL            X9, X10, X9, LT                                        ; +0x44, 0x100232fdc\nCBZ             X9, loc_10023300C                                      ; +0x48, 0x100232fe0\nBL              cocos2d__CCApplication__sharedApplication              ; +0x4c, 0x100232fe4\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x50, 0x100232fe8\nLDR             X9, [SP,#0x30+__p]                                     ; +0x54, 0x100232fec\nCMP             W8, #0                                                 ; +0x58, 0x100232ff0\nADD             X8, SP, #0x30+__p                                      ; +0x5c, 0x100232ff4\nCSEL            X1, X9, X8, LT                                         ; +0x60, 0x100232ff8\nLDR             X8, [X0]                                               ; +0x64, 0x100232ffc\nLDR             X8, [X8,#0x68]                                         ; +0x68, 0x100233000\nBLR             X8                                                     ; +0x6c, 0x100233004\nLDRB            W8, [SP,#0x30+var_11]                                  ; +0x70, 0x100233008\nTBZ             W8, #7, loc_100233018                                  ; +0x74, 0x10023300c\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x78, 0x100233010\nBL              __ZdlPv; operator delete(void *)                       ; +0x7c, 0x100233014\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x80, 0x100233018\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x84, 0x10023301c\nADD             SP, SP, #0x40 ; '@'                                    ; +0x88, 0x100233020\nRET                                                                    ; +0x8c, 0x100233024", "xrefs": ["MyStuffPopup::init @ 0x100232e58"], "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"}