{"type": "func", "start": 4271288, "end": 4271366, "name": "GJChallengeItem::create", "pseudocode": "// \n// GJChallengeItem::create from 0x412cb8 to 0x412d06 (78 bytes)\n// \n// 1 xrefs:\n// > GJChallengeItem::createWithCoder @ 0x412fd8\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\nGJChallengeItem *GJChallengeItem::create()\n{\n  GJChallengeItem *v0; // r6\n  _BYTE v2[4]; // [sp+10h] [bp-8h] BYREF\n\n  sub_776584((int)v2, (char *)&unk_939830);\n  v0 = (GJChallengeItem *)GJChallengeItem::create(0, 0, 0, 0);\n  sub_774008(v2);\n  return v0;\n}", "assembly": "; \n; GJChallengeItem::create from 0x412cb8 to 0x412d06 (78 bytes)\n; \n; 1 xrefs:\n; > GJChallengeItem::createWithCoder @ 0x412fd8\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\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x412cb8\nSUB             SP, SP, #0x18                                          ; +0x2, 0x412cba\nLDR             R4, =(__stack_chk_guard_ptr - 0x412CC8)                ; +0x4, 0x412cbc\nADD             R5, SP, #0x18+var_8                                    ; +0x6, 0x412cbe\nLDR             R1, =(unk_939830 - 0x412CCE)                           ; +0x8, 0x412cc0\nADD             R2, SP, #0x18+var_C                                    ; +0xa, 0x412cc2\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x412cc4\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x412cc6\nMOV             R0, R5; int                                            ; +0x10, 0x412cc8\nADD             R1, PC; unk_939830 ; char *                            ; +0x12, 0x412cca\nLDR             R3, [R4]                                               ; +0x14, 0x412ccc\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x16, 0x412cce\nBL              sub_776584                                             ; +0x18, 0x412cd0\nMOVS            R0, #0                                                 ; +0x1c, 0x412cd4\nSTR             R5, [SP,#0x18+var_18]                                  ; +0x1e, 0x412cd6\nMOV             R1, R0                                                 ; +0x20, 0x412cd8\nMOV             R2, R0                                                 ; +0x22, 0x412cda\nMOV             R3, R0                                                 ; +0x24, 0x412cdc\nBL              _ZN15GJChallengeItem6createE15GJChallengeTypeiiiSs; GJChallengeItem::create(GJChallengeType,int,int,int,std::string) ; +0x26, 0x412cde\nMOV             R6, R0                                                 ; +0x2a, 0x412ce2\nMOV             R0, R5                                                 ; +0x2c, 0x412ce4\nBL              sub_774008                                             ; +0x2e, 0x412ce6\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x32, 0x412cea\nLDR             R3, [R4]                                               ; +0x34, 0x412cec\nMOV             R0, R6                                                 ; +0x36, 0x412cee\nCMP             R2, R3                                                 ; +0x38, 0x412cf0\nBEQ             loc_412D02                                             ; +0x3a, 0x412cf2\nBLX             __stack_chk_fail                                       ; +0x3c, 0x412cf4\nMOV             R0, R5                                                 ; +0x40, 0x412cf8\nBL              sub_774008                                             ; +0x42, 0x412cfa\nBL              __cxa_end_cleanup                                      ; +0x46, 0x412cfe\nADD             SP, SP, #0x18                                          ; +0x4a, 0x412d02\nPOP             {R4-R6,PC}                                             ; +0x4c, 0x412d04", "xrefs": ["GJChallengeItem::createWithCoder @ 0x412fd8"], "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"}