{"type": "func", "start": 4295599184, "end": 4295599340, "name": "GameLevelManager::followUser", "pseudocode": "// \n// GameLevelManager::followUser from 0x10009a450 to 0x10009a4ec (156 bytes)\n// \n// 1 xrefs:\n// > ProfilePage::onFollow @ 0x1001977cc\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GameLevelManager::followUser(GameLevelManager *a1, int a2)\n{\n  cocos2d::CCDictionary *m_followedCreators; // x19\n  __int64 v4; // x20\n  cocos2d::CCString *v5; // x0\n  char *CString; // x0\n  void *__p[2]; // [xsp+10h] [xbp-50h] BYREF\n  char v8; // [xsp+27h] [xbp-39h]\n  void *v9[2]; // [xsp+28h] [xbp-38h] BYREF\n  char v10; // [xsp+3Fh] [xbp-21h]\n\n  m_followedCreators = a1->m_followedCreators;\n  sub_100009900(v9, \"1\");\n  v4 = sub_100268E48(v9);\n  v5 = (cocos2d::CCString *)sub_100268F4C(\"%i\", a2);\n  CString = (char *)cocos2d::CCString::getCString(v5);\n  sub_100009900(__p, CString);\n  cocos2d::CCDictionary::setObject_1(m_followedCreators, v4, __p);\n  if ( v8 < 0 )\n    operator delete(__p[0]);\n  if ( v10 < 0 )\n    operator delete(v9[0]);\n}", "assembly": "; \n; GameLevelManager::followUser from 0x10009a450 to 0x10009a4ec (156 bytes)\n; \n; 1 xrefs:\n; > ProfilePage::onFollow @ 0x1001977cc\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUB             SP, SP, #0x70                                          ; +0x0, 0x10009a450\nSTP             X22, X21, [SP,#0x60+var_20]                            ; +0x4, 0x10009a454\nSTP             X20, X19, [SP,#0x60+var_10]                            ; +0x8, 0x10009a458\nSTP             X29, X30, [SP,#0x60+var_s0]                            ; +0xc, 0x10009a45c\nADD             X29, SP, #0x60                                         ; +0x10, 0x10009a460\nMOV             X21, X1                                                ; +0x14, 0x10009a464\nLDR             X19, [X0,#0x178]                                       ; +0x18, 0x10009a468\nADRL            X1, a1; \"1\"                                            ; +0x1c, 0x10009a46c\nADD             X0, SP, #0x60+var_38; int                              ; +0x24, 0x10009a474\nBL              sub_100009900                                          ; +0x28, 0x10009a478\nADD             X0, SP, #0x60+var_38                                   ; +0x2c, 0x10009a47c\nBL              sub_100268E48                                          ; +0x30, 0x10009a480\nMOV             X20, X0                                                ; +0x34, 0x10009a484\nSTR             X21, [SP,#0x60+var_60]                                 ; +0x38, 0x10009a488\nADRL            X0, aI; \"%i\"                                           ; +0x3c, 0x10009a48c\nBL              sub_100268F4C                                          ; +0x44, 0x10009a494\nBL              cocos2d__CCString__getCString                          ; +0x48, 0x10009a498\nMOV             X1, X0; __s                                            ; +0x4c, 0x10009a49c\nADD             X0, SP, #0x60+__p; int                                 ; +0x50, 0x10009a4a0\nBL              sub_100009900                                          ; +0x54, 0x10009a4a4\nADD             X2, SP, #0x60+__p                                      ; +0x58, 0x10009a4a8\nMOV             X0, X19                                                ; +0x5c, 0x10009a4ac\nMOV             X1, X20                                                ; +0x60, 0x10009a4b0\nBL              cocos2d__CCDictionary__setObject_1                     ; +0x64, 0x10009a4b4\nLDRSB           W8, [SP,#0x60+var_39]                                  ; +0x68, 0x10009a4b8\nTBZ             W8, #0x1F, loc_10009A4C8                               ; +0x6c, 0x10009a4bc\nLDR             X0, [SP,#0x60+__p]; __p                                ; +0x70, 0x10009a4c0\nBL              __ZdlPv; operator delete(void *)                       ; +0x74, 0x10009a4c4\nLDRSB           W8, [SP,#0x60+var_21]                                  ; +0x78, 0x10009a4c8\nTBZ             W8, #0x1F, loc_10009A4D8                               ; +0x7c, 0x10009a4cc\nLDR             X0, [SP,#0x60+var_38]; __p                             ; +0x80, 0x10009a4d0\nBL              __ZdlPv; operator delete(void *)                       ; +0x84, 0x10009a4d4\nLDP             X29, X30, [SP,#0x60+var_s0]                            ; +0x88, 0x10009a4d8\nLDP             X20, X19, [SP,#0x60+var_10]                            ; +0x8c, 0x10009a4dc\nLDP             X22, X21, [SP,#0x60+var_20]                            ; +0x90, 0x10009a4e0\nADD             SP, SP, #0x70 ; 'p'                                    ; +0x94, 0x10009a4e4\nRET                                                                    ; +0x98, 0x10009a4e8", "xrefs": ["ProfilePage::onFollow @ 0x1001977cc"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}