{"type": "func", "start": 4297609020, "end": 4297609128, "name": "GJBaseGameLayer::pickupItem", "pseudocode": "// \n// GJBaseGameLayer::pickupItem from 0x100284f3c to 0x100284fa8 (108 bytes)\n// \n// 3 xrefs:\n// > PlayLayer::loadFromCheckpoint @ 0x10014a5b8\n// > GJBaseGameLayer::collisionCheckObjects @ 0x100283d0c\n// > GJBaseGameLayer::collisionCheckObjects @ 0x100283eb4\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:57 +0000\n// \n\nvoid __fastcall GJBaseGameLayer::pickupItem(__int64 a1, __int64 a2)\n{\n  __int64 v3; // x20\n  __int64 v4; // x0\n  char *CString; // x0\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v7; // [xsp+1Fh] [xbp-11h]\n\n  v3 = *(_QWORD *)(a1 + 12584);\n  v4 = sub_1003065B0(\"%i\", *(_DWORD *)(a2 + 1792));\n  CString = (char *)cocos2d::CCString::getCString(v4);\n  sub_100009900(__p, CString);\n  cocos2d::CCDictionary::setObject(v3, a2, __p);\n  if ( v7 < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; GJBaseGameLayer::pickupItem from 0x100284f3c to 0x100284fa8 (108 bytes)\n; \n; 3 xrefs:\n; > PlayLayer::loadFromCheckpoint @ 0x10014a5b8\n; > GJBaseGameLayer::collisionCheckObjects @ 0x100283d0c\n; > GJBaseGameLayer::collisionCheckObjects @ 0x100283eb4\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:57 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x100284f3c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100284f40\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100284f44\nADD             X29, SP, #0x30                                         ; +0xc, 0x100284f48\nMOV             X19, X1                                                ; +0x10, 0x100284f4c\nLDR             X20, [X0,#0x3128]                                      ; +0x14, 0x100284f50\nLDR             W8, [X1,#0x700]                                        ; +0x18, 0x100284f54\nSTR             X8, [SP,#0x30+var_30]                                  ; +0x1c, 0x100284f58\nADRL            X0, aI; \"%i\"                                           ; +0x20, 0x100284f5c\nBL              sub_1003065B0                                          ; +0x28, 0x100284f64\nBL              cocos2d__CCString__getCString                          ; +0x2c, 0x100284f68\nMOV             X1, X0; __s                                            ; +0x30, 0x100284f6c\nADD             X0, SP, #0x30+__p; int                                 ; +0x34, 0x100284f70\nBL              sub_100009900                                          ; +0x38, 0x100284f74\nADD             X2, SP, #0x30+__p                                      ; +0x3c, 0x100284f78\nMOV             X0, X20                                                ; +0x40, 0x100284f7c\nMOV             X1, X19                                                ; +0x44, 0x100284f80\nBL              cocos2d__CCDictionary__setObject                       ; +0x48, 0x100284f84\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x4c, 0x100284f88\nTBZ             W8, #0x1F, loc_100284F98                               ; +0x50, 0x100284f8c\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x54, 0x100284f90\nBL              __ZdlPv; operator delete(void *)                       ; +0x58, 0x100284f94\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x5c, 0x100284f98\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x60, 0x100284f9c\nADD             SP, SP, #0x40 ; '@'                                    ; +0x64, 0x100284fa0\nRET                                                                    ; +0x68, 0x100284fa4", "xrefs": ["PlayLayer::loadFromCheckpoint @ 0x10014a5b8", "GJBaseGameLayer::collisionCheckObjects @ 0x100283d0c", "GJBaseGameLayer::collisionCheckObjects @ 0x100283eb4"], "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"}