{"type": "func", "start": 4295651120, "end": 4295651240, "name": "GameLevelManager::levelIDFromPostCommentKey", "pseudocode": "// \n// GameLevelManager::levelIDFromPostCommentKey from 0x1000a6f30 to 0x1000a6fa8 (120 bytes)\n// \n// 1 xrefs:\n// > GameLevelManager::onUploadCommentCompleted @ 0x10008c1ac\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\nint __fastcall GameLevelManager::levelIDFromPostCommentKey(GameLevelManager *a1, const char *a2)\n{\n  __int64 v2; // x19\n  cocos2d::CCString *v3; // x0\n  const char *CString; // x0\n  std::string __p; // [xsp+8h] [xbp-28h] BYREF\n\n  sub_100009900(&__p, (char *)a2);\n  v2 = sub_100093338(&__p, \"_\");\n  if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(__p.__r_.__value_.__l.__data_);\n  if ( (unsigned int)sub_10024A36C(v2) < 2 )\n    return 0;\n  v3 = (cocos2d::CCString *)sub_10024A388(v2, 1);\n  CString = cocos2d::CCString::getCString(v3);\n  return atoi(CString);\n}", "assembly": "; \n; GameLevelManager::levelIDFromPostCommentKey from 0x1000a6f30 to 0x1000a6fa8 (120 bytes)\n; \n; 1 xrefs:\n; > GameLevelManager::onUploadCommentCompleted @ 0x10008c1ac\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, #0x40                                          ; +0x0, 0x1000a6f30\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1000a6f34\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1000a6f38\nADD             X29, SP, #0x30                                         ; +0xc, 0x1000a6f3c\nADD             X0, SP, #0x30+__p; int                                 ; +0x10, 0x1000a6f40\nBL              sub_100009900                                          ; +0x14, 0x1000a6f44\nADRL            X1, asc_1006B16FB; \"_\"                                 ; +0x18, 0x1000a6f48\nADD             X0, SP, #0x30+__p                                      ; +0x20, 0x1000a6f50\nBL              sub_100093338                                          ; +0x24, 0x1000a6f54\nMOV             X19, X0                                                ; +0x28, 0x1000a6f58\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x2c, 0x1000a6f5c\nTBZ             W8, #0x1F, loc_1000A6F6C                               ; +0x30, 0x1000a6f60\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x34, 0x1000a6f64\nBL              __ZdlPv; operator delete(void *)                       ; +0x38, 0x1000a6f68\nMOV             X0, X19                                                ; +0x3c, 0x1000a6f6c\nBL              sub_10024A36C                                          ; +0x40, 0x1000a6f70\nCMP             W0, #2                                                 ; +0x44, 0x1000a6f74\nB.CC            loc_1000A6F94                                          ; +0x48, 0x1000a6f78\nMOV             X0, X19                                                ; +0x4c, 0x1000a6f7c\nMOV             W1, #1                                                 ; +0x50, 0x1000a6f80\nBL              sub_10024A388                                          ; +0x54, 0x1000a6f84\nBL              cocos2d__CCString__getCString                          ; +0x58, 0x1000a6f88\nBL              _atoi                                                  ; +0x5c, 0x1000a6f8c\nB               loc_1000A6F98                                          ; +0x60, 0x1000a6f90\nMOV             W0, #0                                                 ; +0x64, 0x1000a6f94\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x68, 0x1000a6f98\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x6c, 0x1000a6f9c\nADD             SP, SP, #0x40 ; '@'                                    ; +0x70, 0x1000a6fa0\nRET                                                                    ; +0x74, 0x1000a6fa4", "xrefs": ["GameLevelManager::onUploadCommentCompleted @ 0x10008c1ac"], "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"}